<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        $eu = null;
        if (!$eu):
            $a = new Exception('Eu e NULL', E_USER_NOTICE);
            echo $a->getMessage();
            var_dump($a);
            echo "<hr>";
        endif;

        try {
            if (!$eu):
                throw new Exception("Eu novamente esta NULL",E_USER_NOTICE);
            endif;
        } catch (Exception $e) {
            echo "Erro #{$e->getCode()} : {$e->getMessage()}<br>";
            echo "<small>{$e->getFile()} na linha {$e->getLine()}</small></p>";
            
            //echo "<hr>";
            //echo $e->xdebug_message;
        }
        ?>
    </body>
</html>
